package com.wejoy.video.middle.station.admin.controller.system;
/**
 * @Author 张文杰
 * @PackageName video-middle-station
 * @Package com.wejoy.video.middle.station.admin.controller.system
 * @Date 2022/11/3 10:40 AM
 * @Version 1.0
 */

import com.wejoy.video.middle.station.admin.controller.BaseController;
import com.wejoy.video.middle.station.data.service.system.ISysDeptUserService;
import com.wejoy.video.middle.station.data.vo.RespJSON;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;


/**
 * @BelongsProject: video-middle-station
 * @BelongsPackage: com.wejoy.video.middle.station.admin.controller.system
 * @Author: zhangwenjie
 * @CreateTime: 2022-11-03  10:40
 * @Description: TODO
 * @Version: 1.0
 */
@RestController
@RequestMapping("/system/sysDeptUser")
public class SysDeptUserController extends BaseController {

    @Autowired
    private ISysDeptUserService sysDeptUserService;


    @PostMapping("/getDeptUserListAndUserList")
    RespJSON getDeptUserListAndUserList(Long deptId){
        return RespJSON.success(sysDeptUserService.getDeptUserListAndUserList(deptId));
    }

}
